package houpu.hanjiang.service;

import houpu.hanjiang.mapper.TPartMapper;
import houpu.hanjiang.model.TPart;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:xiao
 * @Date: 2019/11/5 17:12
 */
@Service
public class TPartservice {
    @Autowired
    private TPartMapper tPartMapper;
    public List<TPart> TPartAll(){
        return tPartMapper.tPartAll();
    }
    //新增数据
    public int tpartadd(TPart tPart){
        return tPartMapper.tpartadd(tPart);
    }
}
